package com.ruoyi.finance.livestreaming.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 数字直播余额提现记录
 * </p>
 *
 * @author wangmh
 * @since 2023-09-21
 */
@TableName("sz_withdrawal_record")
@ApiModel(value = "SzWithdrawalRecord对象", description = "数字直播余额提现记录")
public class SzWithdrawalRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("提现金额")
    @TableField("money")
    private BigDecimal money;

    @ApiModelProperty("提现时间")
    @TableField("application_time")
    private LocalDateTime applicationTime;

    @ApiModelProperty("提现状态")
    @TableField("state")
    private String state;

    @ApiModelProperty("处理时间")
    @TableField("handle_time")
    private LocalDateTime handleTime;

    @ApiModelProperty("处理人")
    @TableField("handle_person")
    private Long handlePerson;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("交易id")
    @TableField("pay_id")
    private String payId;

    @ApiModelProperty("本次提现手续费比例")
    @TableField("extract_ratio")
    private BigDecimal extractRatio;

    @ApiModelProperty("本次提现税收比例")
    @TableField("revenue_ratio")
    private BigDecimal revenueRatio;

    @ApiModelProperty("本次提现手续费")
    @TableField("extract_money")
    private BigDecimal extractMoney;

    @ApiModelProperty("本次提现税收")
    @TableField("revenue_money")
    private BigDecimal revenueMoney;

    @ApiModelProperty("本次消耗能量值")
    @TableField("energy")
    private BigDecimal energy;

    @ApiModelProperty("提现账号")
    @TableField("account")
    private String account;

    @ApiModelProperty("提现方式")
    @TableField("withdrawal_method")
    private String withdrawalMethod;

    @ApiModelProperty("实际到账")
    @TableField("actualArrival")
    private BigDecimal actualArrival;

    public BigDecimal getActualArrival() {
        return actualArrival;
    }

    public void setActualArrival(BigDecimal actualArrival) {
        this.actualArrival = actualArrival;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getWithdrawalMethod() {
        return withdrawalMethod;
    }

    public void setWithdrawalMethod(String withdrawalMethod) {
        this.withdrawalMethod = withdrawalMethod;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }
    public LocalDateTime getApplicationTime() {
        return applicationTime;
    }

    public void setApplicationTime(LocalDateTime applicationTime) {
        this.applicationTime = applicationTime;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public LocalDateTime getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(LocalDateTime handleTime) {
        this.handleTime = handleTime;
    }
    public Long getHandlePerson() {
        return handlePerson;
    }

    public void setHandlePerson(Long handlePerson) {
        this.handlePerson = handlePerson;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }
    public BigDecimal getExtractRatio() {
        return extractRatio;
    }

    public void setExtractRatio(BigDecimal extractRatio) {
        this.extractRatio = extractRatio;
    }
    public BigDecimal getRevenueRatio() {
        return revenueRatio;
    }

    public void setRevenueRatio(BigDecimal revenueRatio) {
        this.revenueRatio = revenueRatio;
    }
    public BigDecimal getExtractMoney() {
        return extractMoney;
    }

    public void setExtractMoney(BigDecimal extractMoney) {
        this.extractMoney = extractMoney;
    }
    public BigDecimal getRevenueMoney() {
        return revenueMoney;
    }

    public void setRevenueMoney(BigDecimal revenueMoney) {
        this.revenueMoney = revenueMoney;
    }
    public BigDecimal getEnergy() {
        return energy;
    }

    public void setEnergy(BigDecimal energy) {
        this.energy = energy;
    }

    @Override
    public String toString() {
        return "SzWithdrawalRecord{" +
            "id=" + id +
            ", userId=" + userId +
            ", money=" + money +
            ", applicationTime=" + applicationTime +
            ", state=" + state +
            ", handleTime=" + handleTime +
            ", handlePerson=" + handlePerson +
            ", remark=" + remark +
            ", payId=" + payId +
            ", extractRatio=" + extractRatio +
            ", revenueRatio=" + revenueRatio +
            ", extractMoney=" + extractMoney +
            ", revenueMoney=" + revenueMoney +
            ", energy=" + energy +
        "}";
    }
}
